<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>V2 - QuestionIndex</title>
</head>
<body>
<div>
    <h2>Django问卷调查小系统 - V2</h2>
    <hr>
    <ul>
        {% for question in questions %}
        <li>
            <a href="{% url 'polls:v2-polls-detail' question.id %}">
                {{ question.question_text }}  发表于 <span>{{ question.pub_date|date:'Y-m-d' }}</span>
            </a>
        </li>
        {% endfor %}
    </ul>
</div>
</body>
</html>